<extend name="Public/layout"/>

<block name="body">
    <div class="container">
        <div class="row">
            <div class="login col-xs-12 col-md-6">
                <form class="form" action="{:U('User/login')}" method="post">
                    <div class="form-group">
                        <label class="control-label">账号</label>
                        <div class="input-group">
                            <span class="input-group-addon"><i class="icon-user"></i></span>
                            <input type="text" class="form-control" placeholder="请输入用户名｜邮箱｜手机号" name="username">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label">密码</label>
                        <div class="input-group">
                            <span class="input-group-addon"><i class="icon-lock"></i></span>
                            <input type="password" class="form-control" placeholder="请输入密码" name="password">
                        </div>
                    </div>
                    <div class="form-group">
                        <button type="submit" class="btn btn-success ajax-post" target-form="form" data-loading-text="正在登录...">登 录</button>
                        <button type="reset" class="btn">重 置</button>
                        <a class="pull-right" href="{:U('User/register')}">注册</a>
                    </div>
                </form>
            </div>
        </div>
    </div>
</block>
